﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Genesis.Application.Forms
{
    public partial class DefaultForm : Genesis.Client.Common.Classes.MdiChildBase, Genesis.Common.Interfaces.IMdiChild
    {
        public DefaultForm()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            base.host.ExecuteCommand("Genesis.Application.Commands.ShowMessage",
                new Genesis.Common.Classes.CommandParameter[] {
                    new Genesis.Common.Classes.CommandParameter("Text", textBox1.Text),
                    new Genesis.Common.Classes.CommandParameter("Caption", textBox2.Text),
                });
        }
    }
}
